package com.vedu.resource.service;

import com.vedu.resource.entity.po.ResourcePo;

import java.util.List;

/**
 * version: 1.0
 *
 * @author yuancheng.li [create on 2018/8/16 23:27 ]
 */
public interface ResourceService {

    /**
     * @param userId
     * @return
     */
    List<String> findUserResourceIds(Integer userId);

    List<ResourcePo> findUserResources(Integer userId);

    /**
     * @param roleId
     * @return
     */
    List<String> findRoleResourceId(Integer roleId);

    List<ResourcePo> findRoleResources(Integer roleId);

}
